projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75a2976
)
macos: fix toplevel present function prototype
author
Christian Hergert
<chergert@redhat.com>
Thu, 31 Dec 2020 19:07:07 +0000
(11:07 -0800)
committer
Christian Hergert
<chergert@redhat.com>
Fri, 1 Jan 2021 21:17:47 +0000
(13:17 -0800)
No need to return anything here.
gdk/macos/gdkmacostoplevelsurface.c
patch
|
blob
|
history
diff --git
a/gdk/macos/gdkmacostoplevelsurface.c
b/gdk/macos/gdkmacostoplevelsurface.c
index 4a84dc830464f26a508ab80038b2173cdbc2a4b3..54c991bdf2ba82a805fa0895501d0f1dc390c7c4 100644
(file)
--- a/
gdk/macos/gdkmacostoplevelsurface.c
+++ b/
gdk/macos/gdkmacostoplevelsurface.c
@@
-81,7
+81,7
@@
_gdk_macos_toplevel_surface_unmaximize (GdkMacosToplevelSurface *self)
[window zoom:window];
}
-static
gboolean
+static
void
_gdk_macos_toplevel_surface_present (GdkToplevel *toplevel,
GdkToplevelLayout *layout)
{
@@
-230,8
+230,6
@@
_gdk_macos_toplevel_surface_present (GdkToplevel *toplevel,
_gdk_macos_surface_show (GDK_MACOS_SURFACE (self));
GDK_MACOS_SURFACE (self)->did_initial_present = TRUE;
-
- return TRUE;
}
static gboolean